QARenderAbort
You can use theQARenderAbort
function to cancel any asynchronous drawing requests for a draw context.
#define QARenderAbort(drawContext) \ (drawContext)->renderAbort (drawContext)
drawContext
- A draw context.
DESCRIPTION
TheQARenderAbort
function immediately stops the draw context specified by thedrawContext
parameter from processing any asynchronous drawing commands it is currently processing and causes it to discard any queued commands.The
QARenderAbort
function returns a result code (of typeTQAError
) indicating whether any errors have occurred since the previous call toQARenderStart
. If all rendering commands completed successfully, the valuekQANoErr
is returned. If any other value is returned, you should assume that the rendered image is incorrect.SPECIAL CONSIDERATIONS
You should call eitherQARenderEnd
orQARenderAbort
, but not both.